package com.qili.service.zx.impl;

import com.qili.base.mapper.BaseMapper;
import com.qili.base.service.impl.BaseServiceImpl;
import com.qili.entity.zx.ZxPayRecord;
import com.qili.entity.zx.dto.ZxPayRecordDTO;
import com.qili.entity.zx.dto.ZxProjectDTO;
import com.qili.mapper.zx.ZxPayRecordMapper;
import com.qili.service.zx.ZxPayRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

/**
 * @author zhaoyongke
 * @date 2020/12/29
 * @description  工程款支付记录
 */
@Service
public class ZxPayRecordServiceImpl extends BaseServiceImpl<ZxPayRecord,String> implements ZxPayRecordService {

    @Autowired
    private ZxPayRecordMapper zxPayRecordMapper;
    @Override
    public BaseMapper<ZxPayRecord, String> getMappser() {
        return zxPayRecordMapper;
    }
    @Override
    public List<ZxPayRecordDTO> selectPayRecord(ZxProjectDTO dto){
        return    zxPayRecordMapper.selectPayRecord(dto);
    }
    @Override
    public   List<ZxPayRecordDTO> selectPayRecordDe(ZxProjectDTO dto){
        return    zxPayRecordMapper.selectPayRecordDe(dto);
    }

    @Override
    public List<ZxPayRecordDTO> selectHk(ZxProjectDTO dto) {
        return zxPayRecordMapper.selectHk(dto);
    }

    @Override
    public ZxPayRecordDTO selectHkById(String id) {
        return zxPayRecordMapper.selectHkById(id);
    }
}
